//
//  SISSChangePasswordViewController.m
//  SISSAPP
//
//  Created by 袁应荣 on 2017/10/25.
//  Copyright © 2017年 优房网. All rights reserved.
//

#import "SISSChangePasswordViewController.h"
#import "SISSLoginViewController.h"

@interface SISSChangePasswordViewController ()

@end

@implementation SISSChangePasswordViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // 添加左上角返回按钮
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"back"] style:UIBarButtonItemStylePlain target:self action:@selector(back)];
}



/**
 返回按钮点击事件
 */
- (void)back {
    
    // 跳转到登陆界面重新登录
    [UIApplication sharedApplication].keyWindow.rootViewController = [[SISSLoginViewController alloc] init];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
